import { useRouter } from "vue-router";

export default function use() {
  const router = useRouter();
  function gotoPage(path: string) {
    router.push(path);
  }
  return { gotoPage };
}
